//题目数据模型。
Ext.define("ES.model.ItemsModel",{
    extend:"Ext.data.Model",
    fields:[
        {name:"itemID",type:"string"},
        {name:"content",type:"string"},
        {name:"typeID",type:"string"},
        {name:"catalogID",type:"string"},
        {name:"catalogName",type:"string"},
        {name:"sectionID",type:"string"},
        {name:"sectionName",type:"string"},
        {name:"checkCode",type:"string"},
        {name:"difficulty",type:"int"},
        {name:"createTime",type:"date",defaultValue:new Date()},
        {name:"lastTime",type:"date"},
        {name:"orderNo",type:"int"},
        
        {name:"items",type:"string"},
        {name:"answers",type:"string"}
    ],
    idProperty:"itemID",
    idgen:"uuid"
})